﻿<UserControl x:Class="personalplaner.gui.settings.views.BaseDataSettingsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:p="clr-namespace:personalplaner.gui.Properties" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <GroupBox Header="{x:Static p:Resources.Layout}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <CheckBox IsChecked="{Binding DeleteSchemaOnDeletePlan}">
                    <TextBlock Text="{x:Static p:Resources.DeleteSchemaOnDeletePlan}" TextWrapping="Wrap"/>
                </CheckBox>
                <CheckBox IsChecked="{Binding ResetLastSchemaOnDeleteSchema}" Grid.Row="1">
                    <TextBlock Text="{x:Static p:Resources.ResetLastSchemaOnDeleteSchema}" TextWrapping="Wrap"/>
                </CheckBox>
                
            </Grid>
        </GroupBox>

        <GroupBox Header="{x:Static p:Resources.Person}" Grid.Row="1">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <CheckBox IsChecked="{Binding ShowPrsId}">
                    <TextBlock Text="{x:Static p:Resources.ShowPrsId}"/>
                </CheckBox>

            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
